package com.logisticsinquiry.android

import com.logisticsinquiry.android.logic.Repository
import com.logisticsinquiry.android.logic.database.AppDatabase
import com.logisticsinquiry.android.logic.entity.ShipperCodeResponseHistory
import kotlinx.coroutines.runBlocking

class Test2 {
}
fun main(args: Array<String>){
    runBlocking {
        val shipperCodeResponseHistoryDao = AppDatabase.getDatabase(QueryApplication.context).shipperCodeResponseHistoryDao()
        val shipperCodeResponseHistory = ShipperCodeResponseHistory("TT6601096070232","天天快递", "test")
        shipperCodeResponseHistoryDao.insertShipperCodeResponseHistory(shipperCodeResponseHistory)
        shipperCodeResponseHistoryDao.loadAllShipperCodeResponseHistorys("test").toString()
    }
}
